/**
* 作者: clz
* 日期: 2025-04-06 01:53:38
* 备注: 用户申请联盟信息
*/
package com.motu.monstercity.server.game.userdata;

import com.motu.monstercity.protocol.Common;
import com.motu.monstercity.server.game.logic.UnionManager;
import com.motu.vertx.module.utility.toolset.TimeUtils;

public class UserUnionApply extends UserUnionApplyModel {
	public UserUnionApply() {
		super();
	}

	public UserUnionApply(long userId, long unionId) {
		putUserId(userId);
		putUnionId(unionId);
		putApplyTime(TimeUtils.getCurTime());
	}

//	public Common.PBUserUnion.Builder takeInitBuilder() {
//		Common.PBUserUnion.Builder sb = Common.PBUserUnion.newBuilder();
//		sb.setUserId(getUserId());
//		return UnionManager.takeBuddyBuilder(sb,getUserId());
//	}
//
//	public Common.PBUserUnion.Builder takeBuilder() {
//		Common.PBUserUnion.Builder sb = Common.PBUserUnion.newBuilder();
//		sb.setUserId(getUserId());
//		return UnionManager.takeBuddyBuilder(sb,getUserId());
//	}
}
